using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Resources;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace KPIS.GERP.Models.HRM
{
	[Table("HrmPrSalaryVersionDtls")]
    public class PrSalaryVersionDtls
    {
		[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		[DataMember, Display(Name = "VersionDtlsId", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public int VersionDtlsId { get; set; }

		[ForeignKey("Version")]
		[DataMember, Display(Name = "VersionId", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<int> VersionId { get; set; }

		[ForeignKey("PosType")]
		[DataMember, Display(Name = "PosTypeId", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<int> PosTypeId { get; set; }

		[DataMember, Display(Name = "SalLevelNo", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<decimal> SalLevelNo { get; set; }

		[DataMember, Display(Name = "OldSalMin", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<double> OldSalMin { get; set; }

		[DataMember, Display(Name = "OldSalMax", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<double> OldSalMax { get; set; }

		[DataMember, Display(Name = "OldSalTmp", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<double> OldSalTmp { get; set; }

		[DataMember, Display(Name = "OldSalDay", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<double> OldSalDay { get; set; }

		[DataMember, Display(Name = "OldSalHour", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<double> OldSalHour { get; set; }

		[DataMember, Display(Name = "OldSalGrow", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<double> OldSalGrow { get; set; }

		[DataMember, Display(Name = "NewSalMin", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<double> NewSalMin { get; set; }

		[DataMember, Display(Name = "NewSalMax", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<double> NewSalMax { get; set; }

		[DataMember, Display(Name = "NewSalTmp", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<double> NewSalTmp { get; set; }

		[DataMember, Display(Name = "NewSalDay", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<double> NewSalDay { get; set; }

		[DataMember, Display(Name = "NewSalHour", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<double> NewSalHour { get; set; }

		[DataMember, Display(Name = "NewSalGrow", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<double> NewSalGrow { get; set; }

		[DataMember, Display(Name = "RecordStatus", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public string RecordStatus { get; set; }

		[DataMember, Display(Name = "CreatedBy", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<int> CreatedBy { get; set; }

		[DataMember, Display(Name = "CreatedWhen", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<System.DateTime> CreatedWhen { get; set; }

		[DataMember, Display(Name = "UpdatedBy", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<int> UpdatedBy { get; set; }

		[DataMember, Display(Name = "UpdatedWhen", ResourceType = typeof(Resources.PrSalaryVersionDtlsResource))]
        public Nullable<System.DateTime> UpdatedWhen { get; set; }

		public virtual Version Version { get; set; }

		public virtual HRM.MasPositionType PosType { get; set; }

    }
}